/*
 * An XML document type.
 * Localname: Path
 * Namespace: http:///org/isistan/flabot/coremodel.ecore
 * Java type: org.isistan.flabot.coremodelEcore.PathDocument
 *
 * Automatically generated - do not modify.
 */
package org.isistan.flabot.coremodelEcore.impl;
/**
 * A document containing one Path(@http:///org/isistan/flabot/coremodel.ecore) element.
 *
 * This is a complex type.
 */
public class PathDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.isistan.flabot.coremodelEcore.PathDocument
{
    private static final long serialVersionUID = 1L;
    
    public PathDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName PATH$0 = 
        new javax.xml.namespace.QName("http:///org/isistan/flabot/coremodel.ecore", "Path");
    
    
    /**
     * Gets the "Path" element
     */
    public org.isistan.flabot.coremodelEcore.Path getPath()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.isistan.flabot.coremodelEcore.Path target = null;
            target = (org.isistan.flabot.coremodelEcore.Path)get_store().find_element_user(PATH$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "Path" element
     */
    public void setPath(org.isistan.flabot.coremodelEcore.Path path)
    {
        generatedSetterHelperImpl(path, PATH$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "Path" element
     */
    public org.isistan.flabot.coremodelEcore.Path addNewPath()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.isistan.flabot.coremodelEcore.Path target = null;
            target = (org.isistan.flabot.coremodelEcore.Path)get_store().add_element_user(PATH$0);
            return target;
        }
    }
}
